package com.ruoyi.hospital.service;

import java.util.List;
import com.ruoyi.hospital.domain.PrescriptionDetail;

/**
 * 处方明细Service接口
 * 
 * @author qichi
 * @date 2023-07-05
 */
public interface IPrescriptionDetailService 
{
    /**
     * 查询处方明细
     * 
     * @param id 处方明细主键
     * @return 处方明细
     */
    public PrescriptionDetail selectPrescriptionDetailById(Long id);

    /**
     * 查询处方明细列表
     * 
     * @param prescriptionDetail 处方明细
     * @return 处方明细集合
     */
    public List<PrescriptionDetail> selectPrescriptionDetailList(PrescriptionDetail prescriptionDetail);

    /**
     * 新增处方明细
     * 
     * @param prescriptionDetail 处方明细
     * @return 结果
     */
    public int insertPrescriptionDetail(PrescriptionDetail prescriptionDetail);

    /**
     * 修改处方明细
     * 
     * @param prescriptionDetail 处方明细
     * @return 结果
     */
    public int updatePrescriptionDetail(PrescriptionDetail prescriptionDetail);

    /**
     * 批量删除处方明细
     * 
     * @param ids 需要删除的处方明细主键集合
     * @return 结果
     */
    public int deletePrescriptionDetailByIds(Long[] ids);

    /**
     * 删除处方明细信息
     * 
     * @param id 处方明细主键
     * @return 结果
     */
    public int deletePrescriptionDetailById(Long id);
}
